<html>
<head>
    <title>个人中心</title>
</head>
<body>
<?php session_start();if (isset($_SESSION['username'])):?>
    <div>
        欢迎您，<?php echo $_SESSION['username'];?>
        <?php echo $_SESSION['user_id'];?>
        <a href="/c7/03.php">安全退出</a>
    </div>
<?php else:?>
    <div>尚未登录，请点击<a href="/c7/01.php">登录</a></div>
<?php endif;?>
</body>
</html>